/**
 * 
 */
package org.swing.utility.common.imp;

import java.nio.ByteBuffer;

/**
 * @author lqnhu
 *
 */
public interface ZeroCopyOutputStream {
	/**
	 * Returns the next buffer to be filled with data. For best performance when
	 * writing to network interfaces, this will be a direct ByteBuffer. Do not
	 * rely on the array() method.
	 */
	public ByteBuffer getNext();
}
